import requests

headers = {
    "User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36",
}

url = "https://www.biquge5200.cc/u/login.htm"

data = {
    "name":"mensaoxiaopengwei",
    "password":"E10ADC3949BA59ABBE56E057F20F883E",
    "autoLogin":1,
    "autologin":1,
}

session = requests.session()  #存储会话信息
response = session.post(url,headers=headers,data=data)

print(response.content.decode('utf-8'))

print("登录成功以后")
url = "https://www.biquge5200.cc/home/"
response = session.get(url=url,headers=headers,verify=False) #忽略

# urllib 中忽略ssl证书验证  用的是 req = request.Request(url,headers=headers,unverifiable=False
#原本应该是 requests.get  因为登录了 保存了上次的会话  所以这里用session 发起请求
print(response.content.decode('gbk'))